<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="generator" content="ApiGen 2.5.0" />

	<title>Interface tjsd\view\ViewContainer</title>

	<script type="text/javascript" src="resources/combined.js?2300626518"></script>
	<script type="text/javascript" src="elementlist.js?712723931"></script>
	<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?1252480456" />

</head>

<body>
<div id="left">
	<div id="menu">
		<a href="index.html" title="Overview"><span>Overview</span></a>

		<div id="groups">
			<h3>Namespaces</h3>
			<ul>
				<li><a href="namespace-PHP.html">PHP</a>
						</li>
				<li class="active"><a href="namespace-tjsd.html">tjsd</a>
						<span></span>
						<ul>
				<li><a href="namespace-tjsd.cache.html">cache</a>
						</li>
				<li><a href="namespace-tjsd.controllers.html">controllers</a>
						</li>
				<li><a href="namespace-tjsd.core.html">core</a>
						</li>
				<li><a href="namespace-tjsd.debug.html">debug</a>
						<span></span>
						<ul>
				<li><a href="namespace-tjsd.debug.handlers.html">handlers</a>
						</li>
							</ul></li>
				<li><a href="namespace-tjsd.exceptions.html">exceptions</a>
						</li>
				<li><a href="namespace-tjsd.mappers.html">mappers</a>
						</li>
				<li><a href="namespace-tjsd.system.html">system</a>
						<span></span>
						<ul>
				<li><a href="namespace-tjsd.system.di.html">di</a>
						</li>
				<li><a href="namespace-tjsd.system.enviroment.html">enviroment</a>
						</li>
							</ul></li>
				<li class="active"><a href="namespace-tjsd.view.html">view</a>
						</li>
							</ul></li>
			</ul>
		</div>

		<hr />

		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li><a href="class-tjsd.view.SimpleViewContainer.html">SimpleViewContainer</a></li>
				<li><a href="class-tjsd.view.ViewContainerAdapter.html">ViewContainerAdapter</a></li>
			</ul>

			<h3>Interfaces</h3>
			<ul>
				<li class="active"><a href="class-tjsd.view.ViewContainer.html">ViewContainer</a></li>
				<li><a href="class-tjsd.view.ViewManager.html">ViewManager</a></li>
			</ul>




		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
<div id="rightInner">
	<form id="search">
		<input type="hidden" name="cx" value="" />
		<input type="hidden" name="ie" value="UTF-8" />
		<input type="text" name="q" class="text" />
		<input type="submit" value="Search" />
	</form>

	<div id="navigation">
		<ul>
			<li>
				<a href="index.html" title="Overview"><span>Overview</span></a>
			</li>
			<li>
				<a href="namespace-tjsd.view.html" title="Summary of tjsd\view"><span>Namespace</span></a>
			</li>
			<li class="active">
<span>Class</span>			</li>
		</ul>
		<ul>
			<li>
				<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
			</li>
		</ul>
		<ul>
		</ul>
	</div>

<div id="content" class="class">
	<h1>Interface ViewContainer</h1>

	<div class="description">
	
<p>Container to models that are displayed in view.</p>

	</div>

	<dl class="tree">
		<dd style="padding-left:0px">
<b>tjsd\view\ViewContainer</b>			
			 implements 
				<a href="class-ArrayAccess.html">ArrayAccess</a>
			
			
		</dd>
	</dl>



	<div>
		<h4>Direct known implementers</h4>
			<a href="class-tjsd.view.ViewContainerAdapter.html">tjsd\view\ViewContainerAdapter</a>
	</div>

	<div>
		<h4>Indirect known implementers</h4>
			<a href="class-tjsd.view.SimpleViewContainer.html">tjsd\view\SimpleViewContainer</a>
	</div>



	<div class="info">
		
		
		<b>Namespace:</b> <a href="namespace-tjsd.html">tjsd</a>\<a href="namespace-tjsd.view.html">view</a><br />

				<b>Copyright:</b>
				2012<br />
				<b>Author:</b>
				Jakub Tesárek &lt;<a
href="mailto:info&#64;tjsd.cz">info&#64;<!---->tjsd.cz</a>&gt;<br />
				<b>Version:</b>
				1.0<br />
		<b>Located at</b> <a href="source-class-tjsd.view.ViewContainer.html#4" title="Go to source code">tjsd/view/ViewContainer.php</a><br />
	</div>


	<table class="summary" id="methods">
	<caption>Methods summary</caption>
	<tr data-order="get" id="_get">

		<td class="attributes"><code>
			
			 public 
			mixed
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_get">#</a>
		<code><a href="source-class-tjsd.view.ViewContainer.html#13" title="Go to source code">get</a>( <span>string <var>$key</var></span> )</code>

		<div class="description short">
			
<p>Retrieves a value based on key from container</p>

		</div>

		<div class="description detailed hidden">
			
<p>Retrieves a value based on key from container</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$key</var></dt>
					<dd><code>string</code><br> identifier of item</dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code>mixed</code><br>value stored in container or null if nothing found<br />
				</div>



		</div>
		</div></td>
	</tr>
	<tr data-order="add" id="_add">

		<td class="attributes"><code>
			
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_add">#</a>
		<code><a href="source-class-tjsd.view.ViewContainer.html#21" title="Go to source code">add</a>( <span>string <var>$key</var></span>, <span>string <var>$value</var></span> )</code>

		<div class="description short">
			
<p>Add item to container based on key.</p>

		</div>

		<div class="description detailed hidden">
			
<p>Add item to container based on key.</p>

<p>If value with the same key allready exists it overided.</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$key</var></dt>
					<dd><code>string</code><br> identifier of item</dd>
					<dt><var>$value</var></dt>
					<dd><code>string</code><br> value to be stored</dd>
				</dl></div>




		</div>
		</div></td>
	</tr>
	<tr data-order="remove" id="_remove">

		<td class="attributes"><code>
			
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_remove">#</a>
		<code><a href="source-class-tjsd.view.ViewContainer.html#31" title="Go to source code">remove</a>( <span>string <var>$key</var></span> )</code>

		<div class="description short">
			
<p>Removes item from container</p>

		</div>

		<div class="description detailed hidden">
			
<p>Removes item from container</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$key</var></dt>
					<dd><code>string</code><br> identifier of item</dd>
				</dl></div>




		</div>
		</div></td>
	</tr>
	<tr data-order="contain" id="_contain">

		<td class="attributes"><code>
			
			 public 
			boolean
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_contain">#</a>
		<code><a href="source-class-tjsd.view.ViewContainer.html#38" title="Go to source code">contain</a>( <span>string <var>$key</var></span> )</code>

		<div class="description short">
			
<p>Check if is item with given key stored in container</p>

		</div>

		<div class="description detailed hidden">
			
<p>Check if is item with given key stored in container</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$key</var></dt>
					<dd><code>string</code><br> identifier of item</dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code>boolean</code><br>true if item was found<br />
				</div>



		</div>
		</div></td>
	</tr>
	</table>

	<table class="summary inherited">
	<caption>Methods inherited from <a href="class-ArrayAccess.html#methods">ArrayAccess</a></caption>
	<tr>
		<td><code>
<a href="class-ArrayAccess.html#_offsetExists">offsetExists()</a>, 
<a href="class-ArrayAccess.html#_offsetGet">offsetGet()</a>, 
<a href="class-ArrayAccess.html#_offsetSet">offsetSet()</a>, 
<a href="class-ArrayAccess.html#_offsetUnset">offsetUnset()</a>
		</code></td>
	</tr>
	</table>








</div>

	<div id="footer">
		 API documentation generated by <a href="http://apigen.org">ApiGen 2.5.0</a>
	</div>
</div>
</div>
</body>
</html>
